package com.ziyun.erp.modules.finance.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import com.ziyun.erp.modules.finance.dao.FinanceReceiptsAccountDao;
import com.ziyun.erp.modules.finance.entity.FinanceReceiptsAccountEntity;
import com.ziyun.erp.modules.finance.service.FinanceReceiptsAccountService;


@Service("financeReceiptsAccountService")
public class FinanceReceiptsAccountServiceImpl extends ServiceImpl<FinanceReceiptsAccountDao, FinanceReceiptsAccountEntity> implements FinanceReceiptsAccountService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<FinanceReceiptsAccountEntity> page = this.selectPage(
                new Query<FinanceReceiptsAccountEntity>(params).getPage(),
                new EntityWrapper<FinanceReceiptsAccountEntity>()
        );

        return new PageUtils(page);
    }

}
